package com.websuites.esb.plugins.kcbp;

public class ConnectionParam 
{
	private String sServer;
	private Integer iProtocal;
	private String sAddress;
	private Integer iPort;
	private String sSend;
	private String sReceive;
	private boolean bUsePool;
	private Integer iMaxPoolSize;
	private Integer iMinPoolSize;
	private Integer iTimeOut;
	private Integer iReConnect;
	private Integer iSleepTime;

	public int getProtocal() 
	{
		return this.iProtocal.intValue();
	}

	public void setProtocal(Integer iProtocal) 
	{
		this.iProtocal = iProtocal;
	}

	public String getAddress() 
	{
		return this.sAddress;
	}

	public void setAddress(String sAddress) 
	{
		this.sAddress = sAddress;
	}

	public int getPort() 
	{
		return this.iPort.intValue();
	}

	public void setPort(Integer iPort) 
	{
		this.iPort = iPort;
	}

	public String getReceive() 
	{
		return this.sReceive;
	}

	public void setReceive(String sReceive) 
	{
		this.sReceive = sReceive;
	}

	public String getSend() 
	{
		return this.sSend;
	}

	public void setSend(String sSend) 
	{
		this.sSend = sSend;
	}

	public String getServer() 
	{
		return this.sServer;
	}

	public void setServer(String sServer) 
	{
		this.sServer = sServer;
	}

	public boolean getUsePool() 
	{
		return this.bUsePool;
	}

	public void setUsePool(Boolean bUsePool) 
	{
		this.bUsePool = bUsePool;
	}

	public int getMaxPoolSize() 
	{
		return this.iMaxPoolSize.intValue();
	}

	public void setMaxPoolSize(Integer iMaxPoolSize) 
	{
		this.iMaxPoolSize = iMaxPoolSize;
	}

	public int getMinPoolSize() 
	{
		return this.iMinPoolSize.intValue();
	}

	public void setMinPoolSize(Integer iMinPoolSize) 
	{
		this.iMinPoolSize = iMinPoolSize;
	}
	
	public int getTimeOut() 
	{
		return this.iTimeOut.intValue();
	}

	public void setTimeOut(Integer iTimeOut) 
	{
		this.iTimeOut = iTimeOut;
	}

	public int getReConnect() 
	{
		return this.iReConnect.intValue();
	}

	public void setReConnect(Integer iReConnect) 
	{
		this.iReConnect = iReConnect;
	}

	public int getSleepTime() 
	{
		return this.iSleepTime.intValue();
	}

	public void setSleepTime(Integer iSleepTime) 
	{
		this.iSleepTime = iSleepTime;
	}

}
